package com.freight.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.freight.order.dto.DriverGoodsDto;
import com.freight.order.dto.QuotationDto;
import com.freight.order.entity.QuotationDetails;
import com.freight.order.vo.DriverGoodsVo;
import com.freight.order.vo.QuotationRecordVo;

import java.util.List;


public interface DriverQuotationRecordService {


    /**
     * 根据货源ID获取报价状态
     * @param orderGoodsId
     * @return
     */
    QuotationRecordVo driverQuotationState(Long orderGoodsId);

    /**
     * 获取报价修改记录列表
     * @param quotationRecordId
     * @return
     */
    List<QuotationDetails> quotationModifyList(Long quotationRecordId);

    /**
     * 获取司机报价记录
     * @param orderGoodsId
     * @return
     */
    List<QuotationRecordVo> driverQuotationRecord(Long orderGoodsId);

    /**
     * 司机报价 - 添加报价记录
     * @param quotationDto
     */
    void addQuotationRecord(QuotationDto quotationDto);

    /**
     * 取消报价记录
     * @param quotationRecordId
     */
    void cancelQuotationRecord(Long quotationRecordId);


}
